package com.itheima.mapper;

import com.itheima.pojo.Clazz;
import com.itheima.pojo.ClazzQueryParam;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface ClazzMapper {

    //集合查询
    List<Clazz> list(ClazzQueryParam clazzQueryParam);

    int insert(Clazz clazz);

    Clazz findById(Integer id);

    int updateById(Clazz clazz);

    int deleteBatch(List<Integer> ids);
}
